export const tabArr = [{
  lab: '全部',
  val: 0,
  badge: {
    value: null
  }
},
{
  lab: '待提交',
  val: 1,
  badge: {
    value: null
  }
},
{
  lab: '待平台处理',
  val: 2,
  badge: {
    value: null
  }
},
{
  lab: '待发货',
  val: 4,
  badge: {
    value: null
  }
},
{
  lab: '待供应商收货',
  val: 5,
  badge: {
    value: null
  }
},
{
  lab: '待退款',
  val: 12,
  badge: {
    value: null
  }
},
{
  lab: '已退款',
  val: 10,
  badge: {
    value: null
  }
},
{
  lab: '待确认',
  val: 11,
  badge: {
    value: null
  }
},
{
  lab: '已取消',
  val: 8,
  badge: {
    value: null
  }
},
]
export const searchContent = [
  {
    key: 'orderCode',
    title: '订单编号',
    type: 'input',
    attr: {
      clearable: true,
      placeholder: '请输入'
    }
  },
  {
    key: 'orderTypeId',
    title: '订单类型',
    type: 'select',
    options: [
      
    ],
  },
  {
    key: 'busModel',
    title: '业务类型',
    type: 'select',
    options: [
      {
        value: 1,
        label: '批发'
      },
      {
        value: 2,
        label: '长期寄售'
      },
    ],
  },
  {
    key: 'returnReasonCode',
    title: '退/换货原因',
    type: 'select',
    options: [
    ],
  },
  {
    key: 'productLineName',
    title: '产品线',
    type: 'input',
    attr: {
      clearable: true,
      placeholder: '请输入'
    }
  },
  {
    key: 'supplierName',
    title: '供应商',
    type: 'input',
    attr: {
      clearable: true,
      placeholder: '请输入'
    }
  },
  {
    key: 'createAt',
    title: '订单提交日期',
    type: 'time',
    fieldname: ['commitDateStart', 'commitDateEnd'],
    attr: {
      class: 'daterange',
      type: 'daterange',
      'start-placeholder': '开始时间',
      'end-placeholder': '结束时间',
      'default-time': ['00:00:00', '23:59:59']
    }
  },
]
export const searchContentCompact = [

]
export const userManagement = [
  { width: '60px', type: 'index', label: '序号', align: 'center' },
  { minWidth: '210px', prop: 'orderCode', label: '退/换货单号', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'supplierName', label: '供应商', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'productLineName', label: '产品线', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'originalFactoryName', label: '生产厂家', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '120px', prop: 'productKind', label: '产品种类', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '120px', prop: 'productCount', label: '产品数量', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '120px', prop: 'orderStatusName', label: '订单状态', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'commitDate', label: '提交时间', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'commitUser', label: '下单人', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'busModelName', label: '业务类型', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'orderTypeName', label: '订单类型', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'returnReasonName', label: '退/换货原因', align: 'center', 'show-overflow-tooltip': true },
  { minWidth: '150px', prop: 'action', label: '操作', align: 'center', fixed: 'right' }
]
export const printContentColumns = [
  { width: '60px', prop: 'index', label: '序号', align: 'center' },
  { minWidth: '170px', prop: 'orginalOrderCode', label: '原采购单编号', align: 'center' },
  // { minWidth: '150px', prop: 'deliverCode', label: '发货单', align: 'center' },
  { minWidth: '150px', prop: 'productCode', label: '产品编码', align: 'center' },
  { minWidth: '150px', prop: 'productName', label: '产品名称', align: 'center' },
  { minWidth: '150px', prop: 'specs', label: '规格', align: 'center' },
  { minWidth: '150px', prop: 'model', label: '型号', align: 'center' },
  { minWidth: '100px', prop: 'productUnit', label: '单位', align: 'center' },
  { minWidth: '150px', prop: 'productLineName', label: '产品线', align: 'center' },
  { minWidth: '150px', prop: 'batchNo', label: '批号', align: 'center' },
  { minWidth: '150px', prop: 'validDate', label: '有效期至', align: 'center' },
  { minWidth: '100px', prop: 'productPrice', label: '单价', align: 'center' },
  { minWidth: '150px', prop: 'productCount', label: '退货数量', align: 'center' },
]